<template>
  <div>
    登录
  </div>
</template>
<script lang="ts">
import { getLogininfo } from '@/api/common'
import { onMounted } from 'vue'
console.log(1)
getLogininfo().then(res => {
  console.log(res)
})
onMounted(() => {
  console.log('登录页')
  getLogininfo().then(res => {
    console.log(res)
  })
})
console.log(2)
</script>
<style lang="scss" scoped></style>
